<layout name="master"/>
</div>
<!--导航结束-->
<div class="clear"></div>

</div>
<!--头部结束-->
<!--中间开始-->
<div id="content">
    <form action="" method="post">


        <div class="car main">
            <div class="carshop">
                <div class="cartitle">
                    <div class="carcheck">
                        <div class="checkbox">
                            <span class="check" id="allcheck"></span>

                        </div>
                        全选
                    </div>
                    <div class="carname">商品名称</div>
                    <div class="carmoney">单价</div>
                    <div class="carnum">数量</div>
                    <div class="carcount">小计</div>
                    <div class="carhandle">操作</div>
                </div>
                <foreach name="data['goods']" item="v" key="k">
                    <div class="shopcontent">
                        <div class="shopcheck">
                            <div class="checkbox">
                                <span class="check "></span>
                                <input type="checkbox" name='checkbox' class="checkhide"/>
                            </div>
                        </div>
                        <div class="shopname">
                            <div class="carimg">
                                <a href="#"><img src="__ROOT__/{$v['pic']}"/></a>
                            </div>
                            <p>
                                <a href="#">{$v['name']}</a><br/>
                                <foreach name="v['options']" item="vv" key="kk">
                                    <span>{$kk}:{$vv}</span>
                                </foreach>
                            </p>
                        </div>
                        <div class="shopmoney">{$v['price']}</div>
                        <div class="shopnum">

                            <a href="javascript:;" sid="{$k}" class="num_l">-</a>
                            <input type="text" id="" value="{$v['num']}"/>
                            <a href="javascript:;" sid="{$k}" class="num_r">+</a>
                        </div>
                        <div class="shopcount">{$v['total']}</div>
                        <div class="shophandle"><span>x</span></div>
                    </div>
                </foreach>


            </div>
            <div class="jiesuan">
                <div class="jixu"><a href="">继续购物</a></div>
                <div class="gongji">共计<span>{$data['total_rows']}</span>件商品</div>
                <div class="heji">合计<span>{$data['total']}</span></div>
                <div class="gou"><input type="submit" value="去结算"/></div>

            </div>
        </div>


    </form>


</div>
</div>
<!--中间结束-->